package com.qidian.study.service;

import com.qidian.study.pojo.Content;
import com.qidian.study.util.pojo.LayuiTableDTO;
import com.qidian.study.util.pojo.VideoResponse;

import java.util.List;

/**
 * @author 戴着假发的程序员
 * @company 起点编程
 */
public interface ContentService {
    public VideoResponse save(Content content);
    public VideoResponse update(Content content);
    public VideoResponse queryById(Long contentId);
    public VideoResponse queryAll();
    public LayuiTableDTO queryByPage(int page, int size, Content content);

    public VideoResponse queryByCatId(Long catId);
}
